package cn.udrm.water.base.v1.manager.dto;

import java.util.List;

import org.mapstruct.Mapper;

import cn.udrm.water.base.v1.manager.entities.BaseRole;

@Mapper(componentModel="spring")
public interface BaseRoleDtoMapper {
	
	public BaseRoleDto from(BaseRole role);
	public BaseRole to(BaseRoleDto roleDto);
	
	public List<BaseRoleDto> from(List<BaseRole> roles);

}
